package com.xsp.ucenter.service;

import com.xsp.ucenter.entity.Member;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xsp.ucenter.entity.vo.LoginVo;
import com.xsp.ucenter.entity.vo.RegisterVo;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author xsp
 * @since 2022-02-21
 */
public interface MemberService extends IService<Member> {

    //登录
    String login(LoginVo loginVo);

    //注册
    void register(RegisterVo registerVo);

    //登录后获取信息
    Member getLoginInfo(String memberId);

    //通过openid获取信息
    Member getByOpenid(String openid);

    //统计某一天的注册人数
    Integer registerCountByDay(String day);
}
